include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/
    ${PROJECT_SOURCE_DIR}/sdk/include/
    ${PROJECT_SOURCE_DIR}/sdk/itu/include/
    ${PROJECT_SOURCE_DIR}/project/ite_cluster/ssas/tools/json.editor/config/GEN/
    ${PROJECT_SOURCE_DIR}/project/ite_cluster/ssas/infras/include/
)

file(GLOB HMIADAPTER_MAIN_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
file(GLOB HMIADAPTER_COMMON_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/Common/*.c)
file(GLOB HMIADAPTER_ITUINTERFACE_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/Scene/*.c)

file(GLOB HMIADAPTER_METER_VIEW_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/Layers/View/*.c)
file(GLOB HMIADAPTER_METER_MODELS_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/Layers/Model/*.c)
file(GLOB HMIADAPTER_METER_MODELLOGIC_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/Layers/Model/Logic/*.c)

file(GLOB TELLTALE_VIEW_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/TelltaleCtrl/View/*.c)
file(GLOB TELLTALE_MODELS_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/TelltaleCtrl/Model/*.c)
file(GLOB TELLTALE_MODELLOGIC_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/TelltaleCtrl/Model/Logic/*.c)
file(GLOB HANDBRKUNITE_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/TelltaleCtrl/Model/Logic/HandbrkUniteModel/*.c)

ADD_LIBRARY(hmi STATIC
    ${HMIADAPTER_MAIN_SRC}
    ${HMIADAPTER_COMMON_SRC}
    ${HMIADAPTER_ITUINTERFACE_SRC}
    ${HMIADAPTER_METER_VIEW_SRC}
    ${HMIADAPTER_METER_MODELS_SRC}
    ${HMIADAPTER_METER_MODELLOGIC_SRC}
    ${HMIADAPTER_METER_CTRL_SRC}
    ${TELLTALE_VIEW_SRC}
    ${TELLTALE_MODELS_SRC}
    ${TELLTALE_MODELLOGIC_SRC}
    ${HANDBRKUNITE_SRC}
)

message(${CMAKE_BINARY_DIR}/data/private)

